<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>算术运算符</title>
    <script type="text/javascript">
        //算术运算可以操作任何类型
        //返回结果是number
        var result=true+false;
        console.log(result);
        result=+'152';
        console.log(typeof result,result);
        result=null+undefined;
        console.log(typeof result);
    </script>
</head>
<body>

</body>
</html>